/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Site;

import java.util.Map;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;

/**
 *
 * @author Allan
 */
@ManagedBean(name="navegar")
@SessionScoped


public class Navegar {
    
   private String pagina;

    public Navegar() {
        this.pagina = "jogo.xhtml";
    }    

    public String getPagina() {
        return pagina;
    }

    public void setPagina(String pagina) {
        this.pagina = pagina;
    }
    
    public void jogo(){
        this.pagina = "jogo.xhtml";
    }
    
    public void ajuda(){
        this.pagina = "ajuda.xhtml";
    }
    
    public void shop(){
        this.pagina = "shop.xhtml";
    }
     
    public void gerenciarContas(){
        this.pagina = "usuario.xhtml";
    }
    public void adicionarUsuario(){
        this.pagina = "gerenciarUsuario.xhtml";
    }
    
    
    
}
